﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Cinemax.DTO
{
    public class TaiKhoanDTO
    {
        int _MaTaiKhoan;
        string _TenDangNhap;
        string _MatKhau;
        int _TinhTrang;
        string _VaiTro;
        

        public TaiKhoanDTO(GET_INFO_BYIDResult tkps)
        {
            // TODO: Complete member initialization
            _MaTaiKhoan = tkps.MaTaiKhoan;
            _MatKhau = tkps.MatKhau;
            _TenDangNhap = tkps.TenDangNhap;
            _TinhTrang = tkps.TinhTrang.Value;
            _VaiTro = tkps.VaiTro;
        }

        public TaiKhoanDTO()
        {
        }

        public string VaiTro
        {
            get { return _VaiTro; }
            set { _VaiTro = value; }
        }

        public int TinhTrang
        {
            get { return _TinhTrang; }
            set { _TinhTrang = value; }
        }

        public string MatKhau
        {
            get { return _MatKhau; }
            set { _MatKhau = value; }
        }

        public string TenDangNhap
        {
            get { return _TenDangNhap; }
            set { _TenDangNhap = value; }
        }

        public int MaTaiKhoan
        {
            get { return _MaTaiKhoan; }
            set { _MaTaiKhoan = value; }
        }
    }
}